#!/bin/bash

# 交叉编译Go下载引擎
GOOS=darwin GOARCH=arm64 go build -o dist/macos/gitdown-downloader ./cmd/downloader
GOOS=windows GOARCH=amd64 go build -o dist/win/gitdown-downloader.exe ./cmd/downloader
GOOS=linux GOARCH=amd64 go build -o dist/linux/gitdown-downloader ./cmd/downloader